package com.muyu.cloud.commodity.service.imp;

import com.muyu.cloud.commodity.domain.model.Brand;
import com.muyu.cloud.commodity.mapper.BrandMapper;
import com.muyu.cloud.commodity.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BrandServiceImpl implements BrandService {

   @Autowired
    private BrandMapper brandMapper;

    @Override
    public List<Brand> listEnabled() {
        return brandMapper.listEnabled();
    }
}